package com.cq.service;

import com.cq.pojo.User;
import com.cq.pojo.User_meeting;

import java.util.List;

/**
 * @Author: 悠久的苍穹
 * @Date: 2021/1/22 15:50
 * @Description: 用户服务层
 * @Version: 1.0
 */
public interface UserService {

    User findUserByOpenId(String openid, String nickname);

    int addUser(User user1);


    int updateUser(User user);

    List<User> findUsers(int page, int limit);

    User findUserByUUid(String uuid);

    int updateUserAuth(User user);

    void deleteUserById(String s1);

    int getCount();

    User_meeting findUserByUUidAndMeetingId(String userId, String meetingId);

    void addUserMeeting(User_meeting user_meeting);

    int isSign(String meetingId, String uuid);

    void sign(String meetingId, String uuid);

    void updateJoin(String userId, String meetingId);

    List<User> findUserSign(String sign, String meetingId);

    void updateEmail(String uuid, String email);
}
